[data-ctrl-name="loading"] {
  width: 100%;
  height: 100%;
  display: -ms-flexbox;
  -ms-flex-align: center;
  -ms-flex-pack: center;
  display: -webkit-box;
  -webkit-box-align: center;
  -webkit-box-pack: center;
  display: -moz-box;
  -moz-box-align: center;
  -moz-box-pack: center;
}
[data-ctrl-name="loading"] div {
  position: relative;
}
[data-ctrl-name="loading"] .arrow {
  display: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}
[data-ctrl-name="loading"] .arrow.down {
  display: block;
  background-image: url();
}
[data-ctrl-name="loading"] .arrow.up {
  display: block;
  background-image: url();
}
[data-ctrl-name="loading"] .text {
  display: block;
  color: #999;
  margin-left: 0.3rem;
}
[data-dpr="1"] [data-ctrl-name="loading"] div,
[data-dpr="1"] [data-ctrl-name="loading"] canvas {
  width: 30px;
  height: 30px;
}
[data-dpr="2"] [data-ctrl-name="loading"] div,
[data-dpr="2"] [data-ctrl-name="loading"] canvas {
  width: 60px;
  height: 60px;
}
[data-dpr="3"] [data-ctrl-name="loading"] div,
[data-dpr="3"] [data-ctrl-name="loading"] canvas {
  width: 90px;
  height: 90px;
}
[data-dpr="1"] [data-ctrl-name="loading"] .text {
  height: 30px;
  line-height: 30px;
  font-size: 12px;
}
[data-dpr="2"] [data-ctrl-name="loading"] .text {
  height: 60px;
  line-height: 60px;
  font-size: 24px;
}
[data-dpr="3"] [data-ctrl-name="loading"] .text {
  height: 90px;
  line-height: 90px;
  font-size: 36px;
}

[data-ctrl-name="scrollview"] {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-box;
  display: -moz-box;
  display: -webkit-flexbox;
  display: -ms-flexbox;
  display: -moz-flexbox;
  display: flexbox;
}
[data-ctrl-name="scrollview"][data-direction="vertical"] {
  -webkit-box-orient: vertical;
  -ms-box-orient: vertical;
  -moz-box-orient: vertical;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  -moz-flex-direction: column;
  flex-direction: column;
}
[data-ctrl-name="scrollview"][data-direction="horizontal"] {
  -webkit-box-orient: horizontal;
  -ms-box-orient: horizontal;
  -moz-box-orient: horizontal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  -moz-flex-direction: row;
  flex-direction: row;
}
[data-ctrl-name="scrollview"] .scroll-wrap {
  display: block;
  -webkit-box-flex: 1;
  -ms-box-flex: 1;
  -moz-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  overflow: hidden;
  position: relative;
}
[data-ctrl-name="scrollview"][data-direction="vertical"] .scroll-wrap,
[data-ctrl-name="scrollview"][data-direction="vertical"] .scroll-content {
  width: 100%;
}
[data-ctrl-name="scrollview"][data-direction="horizontal"] .scroll-wrap,
[data-ctrl-name="scrollview"][data-direction="horizontal"] .scroll-content {
  height: 100%;
}
[data-ctrl-name="scrollview"] .scroll-content {
  position: absolute;
}

[data-ctrl-name="pageview"] {
  position: relative;
}
[data-ctrl-name="pageview"].fullscreen {
  width: 100%;
  height: 100%;
  overflow: hidden;
}
[data-ctrl-name="pageview"] > .view {
  position: absolute;
}
[data-ctrl-name="pageview"].fullscreen > .view {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

[data-dpr="2"] div {
    font-size: 16px;
}

[data-dpr="3"] div {
    font-size: 24px;
}